home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / WINDOWS / MWPROPVW.ARJ / MEWLDEMO.TC < prev    next >
Text File  |  1992-01-24  |  2KB  |  60 lines

  1. ############################################################################
  2. #                                                                          #
  3. #  MAKEFILE for the TIMEDEMO                                               #
  4. #                                                                          #
  5. ############################################################################
  6.  
  7. # Compiler is 'M' for Microsoft, 'T' for Borland Turbo C
  8. COMPILER = T
  9. # Model is 
  10. #   1) Microsoft C - 'M' for Medium, 'L' for Large
  11. #   2) Turbo C - 'm' for medium, 'l' for large
  12. MODEL = l
  13.  
  14. # Change this path to the path where your BC++ is installed
  15. MEWELPATH=c:\mewel
  16. ROOT=i:\bc
  17.  
  18. # Borland Turbo C macros
  19. CC = bcc
  20. #CC = tcc
  21. # Optimization : -G favors speed over size, -O improves jumps & loops
  22. OPT = -G -O
  23. DEBUG= -v
  24. CFLAGS = $(DEBUG) -c -d -f- -k -N -K -m$(MODEL) -DDOS -DMEWEL -DPROPVIEW
  25. ASM = tasm
  26. ASMFLAGS = /dTC=1 /dLMODEL=0 /mx
  27. LIB = tlib
  28. LINK = tlink
  29. LFLAGS = /v
  30.  
  31. # Inference rules for C and ASM files
  32.  
  33. .c.obj :
  34.     $(CC) $(CFLAGS) $*.c
  35.  
  36. .asm.obj :
  37.     $(ASM) $(ASMFLAGS) $*;
  38.  
  39. .rc.res :
  40.     $(MEWELPATH)\rc -w -p3 $*
  41.  
  42.  
  43. DEMO = mewldemo
  44. OBJS = $(DEMO).obj propview.obj
  45.  
  46. all         :   $(DEMO).exe
  47.  
  48.  
  49. $(DEMO).obj :   $(DEMO).c
  50.     $(CC) $(CFLAGS) -DMEWELMAIN -DNOMDI $*.c
  51.  
  52. propview.obj:   propview.c
  53.  
  54. $(DEMO).res :   $(DEMO).rc
  55.  
  56. $(DEMO).exe :   $(OBJS) $(DEMO).res
  57.   $(LINK) $(LFLAGS) $(ROOT)\lib\c0$(MODEL)+$(OBJS),$(DEMO),nul,$(ROOT)\lib\c$(MODEL)+\mewel\libtd
  58.   $(MEWELPATH)\rc $(DEMO).res
  59.  
  60.